package com.ruoyi.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计划对象 food_diet_plan
 *
 * @author xian_pei
 * @date 2024-06-13
 */
public class FoodDietPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划id */
    private Long planId;

    /** 早餐 */
    @Excel(name = "早餐")
    private String breakfast;

    /** 午餐 */
    @Excel(name = "午餐")
    private String lunch;

    /** 晚餐 */
    @Excel(name = "晚餐")
    private String dinner;

    /** 状态码（1为存在，0为删除） */
    @Excel(name = "状态码", readConverterExp = "1=为存在，0为删除")
    private Long status;

    /** 修改时间 */
    private Date modifyTime;

    public void setPlanId(Long planId)
    {
        this.planId = planId;
    }

    public Long getPlanId()
    {
        return planId;
    }
    public void setBreakfast(String breakfast)
    {
        this.breakfast = breakfast;
    }

    public String getBreakfast()
    {
        return breakfast;
    }
    public void setLunch(String lunch)
    {
        this.lunch = lunch;
    }

    public String getLunch()
    {
        return lunch;
    }
    public void setDinner(String dinner)
    {
        this.dinner = dinner;
    }

    public String getDinner()
    {
        return dinner;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setModifyTime(Date modifyTime)
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime()
    {
        return modifyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("planId", getPlanId())
                .append("breakfast", getBreakfast())
                .append("lunch", getLunch())
                .append("dinner", getDinner())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("modifyTime", getModifyTime())
                .toString();
    }
}
